import axios from '@/req'

const URL_LOGIN = '/user/login'
const POST_METHOD = 'POST'
const HEADERS = {'Content-Type':'application/x-www-form-urlencoded'}

export const slogin = (data) =>axios({url:URL_LOGIN,method:POST_METHOD,data,headers:HEADERS})